package com.springboot.mongo.annotation;

import com.springboot.mongo.config.MongoConfiguration;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * 启用mongo注解
 *
 * @author supu
 * @date 2019-08-26 15:49
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({MongoConfiguration.class})
@Documented
public @interface MongoEnable {
}
